import { useRouter } from 'next/router';

const Post = () => {
  const router = useRouter();
  const { slug } = router.query;
  console.log('🚀 ~ file: [... slug].tsx:6 ~ Post ~ slug:', slug);

  return <p>slug-list: {slug}</p>;
};

export default Post;
